package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * 员工更换用工单位
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_emp_modify_company")
@Key(UUID = true)
public class EmpModifyCompanyDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工ID
     */
    private String empId;
    /**
     * 用户Id
     */
    private String userId;
    /**
     * 修改前用户用工单位
     */
    private String oldCompanyId;
    /**
     * 修改后用户用工单位
     */
    private String newCompanyId;



}

